/**
 * @file
 * @auth jinguangguo
 * @date 2016/10/17
 */

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, menu, nav, section {
    display: block;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

body {
    font-family: "SF Pro Display", "SF Pro Text","SF Pro Icons", "Helvetica Neue", Helvetica, Arial, 思源黑体，STXihei, 华文细黑, "Microsoft YaHei", 微软雅黑, SimSun, sans-serif;
}

.container {
    &::before {
        content: "";
        display: table;
    }
    background-color: #666;
    color: #fff;
    max-width: 768px;
    min-height: 100vh;
    box-sizing: border-box;
    margin: 0 auto;
    background: #0051e2 url('../img/download.png') no-repeat 0% 0%;
    background-size: 100% auto;
    padding: (6100vw / 375) 0 (3600vw / 375);
    @media screen and (min-width:769px) {
        padding: 160px 0 72px;
    }
    .title {
        font-size: 28px;
        line-height: 36px;
        line-height: (3600vw / 375);
        color: #fff;
        text-align: center;
        font-weight: normal;
        &-en {
            line-height: 8vw;
        }
        @media screen and (min-width:769px) {
            line-height: 48px;
        }
    }

    .btn {
        -webkit-appearance: none;
        outline: none;
        display: block;
        width: 80%;
        height: 44px;
        border: 1px solid #fff;
        border-radius: 4px;
        background-color: transparent;
        color: #fff;
        font-size: 18px;
        text-align: center;
        margin: 329px 10% 16px;
        margin-top: (32900vw / 375);
        @media screen and (min-width:769px) {
            margin-top: 720px;
        }
        &.android {
            margin: 0 10%;
            border: 1px solid #40E1FF;
            color: #40E1FF;
        }
    }
    .icon {
        display: inline-block;
        vertical-align: text-top;
        width: 20px;
        height: 20px;
        background: url('../img/download-ios.png') no-repeat center;
        background-size: contain;
        &-android {
            background-image: url('../img/download-android.png');
        }
    }

}
.mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba($color: #000000, $alpha: 0.7);
    .mask-close {
        -webkit-appearance: none;
        width: 196px;
        height: 43px;
        border: none;
        outline: none;
        display: block;
        position: absolute;
        bottom: 15%;
        left: 50%;
        margin-left: -98px;
        background: url('../img/download-btn.png') no-repeat center;
        background-size: 196px 43px;
        &.en {
            background-image: url('../img/download-btn-en.png');
        }
    }
    .mask-img {
        position: absolute;
        right: 0px;
        top: -25px;
        width: 130px;
        height: 105px;
        &.en {
            display: none;
        }
    }
    .mask-click {
        position: absolute;
        right: 30px;
        top: -26px + 105px;
        width: 147px;
        height: 61px;
        &.en {
            width: 165px;
            height: 143px;
            top: 8px;
        }
    }

}
